package com.adhere.system.service;

import com.adhere.system.pojo.RbacPrivilege;
import com.adhere.system.pojo.vo.PageVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * rbac_privilege表行数据执行“逻辑真删除” 服务类
 * </p>
 *
 * @author 
 * @since 2021-04-02
 */
public interface IRbacPrivilegeService extends IService<RbacPrivilege> {

    PageVo<RbacPrivilege> getPrivilegeByPage(Integer currentPage, Integer pageSize, String name);

    List<RbacPrivilege> getPrivilegeListByRoleCode(String roleCode);

    String getPrivilege(String requestMethod, String scheme, String uri);

    List<RbacPrivilege> getPrivilegeByRoleList(List<String> roleCodeList);

    List<RbacPrivilege> getPrivilegeListByUserCode(String userCode);
}
